wayland: add shortcut inhibitor support
authorOlivier Fourdan <ofourdan@redhat.com>
Wed, 22 Mar 2017 09:21:02 +0000 (10:21 +0100)
committerOlivier Fourdan <ofourdan@redhat.com>
Wed, 2 Aug 2017 10:37:23 +0000 (12:37 +0200)
commitac61aedae946938079cdc10b0a7e19636ad87ac0
tree88c299170b7ae6fc76179b5cb403abb58e7f8262
parent9ec22d66524807f910e41f3a41a75cfa28655b7b
wayland: add shortcut inhibitor support

This adds support for the shortcut inhibitor protocol in gdk/wayland
backend.

A shortcut inhibitor request is issued from the gdk wayland backend for
both the older, deprecated API gdk_device_grab() and the new gdk seat
API gdk_seat_grab(), but only if the requested capability is for the
keyboard only.

https://bugzilla.gnome.org/show_bug.cgi?id=783343
configure.ac
gdk/wayland/Makefile.am
gdk/wayland/gdkdevice-wayland.c
gdk/wayland/gdkdisplay-wayland.c
gdk/wayland/gdkdisplay-wayland.h
gdk/wayland/gdkprivate-wayland.h
gdk/wayland/gdkwindow-wayland.c